exports.install = function (Vue, options) {
    Vue.prototype.formatDate = function (row, column) {
      let date = row[column.property]
      if (date == null) {
        return null
      }
      let dt = new Date(date)
      let yyyy = dt.getFullYear()
      let MM = (dt.getMonth() + 1).toString().padStart(2, '0')
      let dd = dt.getDate().toString().padStart(2, '0')
      let h = dt.getHours().toString().padStart(2, '0')
      let m = dt.getMinutes().toString().padStart(2, '0')
      let s = dt.getSeconds().toString().padStart(2, '0')
      return yyyy + '-' + MM + '-' + dd 
    }
  }